<template>
  <div class="notice">
    <!-- <div class="son">
      <p>
        <svg class="icon svg-icon" aria-hidden="true">
          <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#iconwanshanziliao"></use>
        </svg>
      </p>
      <p class="sonp">请完善企业信息</p>
      <div slot="footer" class="dialog-footer">
        <el-button @click="gotoHome()" style="margin-right:20px;">下次再说</el-button>
        <el-button type="warning" @click="gotoInfo()">去完善</el-button>
      </div>
    </div> -->
  </div>
</template>

<script>
  export default {
    data () {
      return {
  
      }
    },
    mounted () {
    this.gotoHome()
    },
    created(){
    this.gotoHome()
    },
    methods: {
      gotoInfo () {
        this.$router.push({name: 'company-info'})
      },
      gotoHome () {
        this.$router.push({name: 'home'})
      }
    }
  }
</script>

<style lang="scss">
  .notice{
    width: 100%;
    height: auto;
  }
  .son{
    position: absolute;
    width: 400px;
    height: auto;
    text-align: center;
    margin-top: -140px;
    margin-left: -200px;
    top: 50%;
    left: 50%;
  }
  .sonp{
    font-size: 20px;
    font-weight: 600;
  }
  .dialog-footer{
    display: inline-block;
    text-align: center;
    margin-top: 20px;
  }
</style>
